Page({
  data: {
    channel:[
      {id:1,icon:'/images/ic_driedFruit.png',menuName:'茶点果干'},
      {id:2,icon:'/images/ic_freshFruit.png',menuName:'新鲜水果'},
      {id:3,icon:'/images/ic_tonic.png',menuName:'滋补品'},
      {id:4,icon:'/images/ic_fruitWine.png',menuName:'果酒'},
      {id:5,icon:'/images/ic_fruitDistilledWine.png',menuName:'水果蒸馏酒'},
      
    ]
  },
  fenlei:function(e){
    let index = e.currentTarget.dataset.index;
    wx.setStorageSync('catalog_index', index);
    wx.switchTab({
      url: '/pages/catalog/catalog',
    })
  },
})
